From 6787db98f6005fa5cdb31a9413a6dd58b2a0a00a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 24 Mar 2008 21:31:48 +0000 Subject: [PATCH] Make the "test" array static. 2008-03-24 Tor Lillqvist * babl/babl-type.c: Make the "test" array static. svn path=/trunk/; revision=297 --- ChangeLog | 4 ++++ babl/babl-type.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cbe0abf..ec56ead 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-24 Tor Lillqvist + + * babl/babl-type.c: Make the "test" array static. + 2008-03-23 Martin Nordholts * babl/babl-memory.[ch]: typedef:ed BABL free and malloc function diff --git a/babl/babl-type.c b/babl/babl-type.c index b4f7e28..7004dd6 100644 --- a/babl/babl-type.c +++ b/babl/babl-type.c @@ -142,7 +142,7 @@ babl_type_new (void *first_arg, #define TOLERANCE 0.000000001 #define samples 512 -double test[samples]; +static double test[samples]; static double r_interval (double min, double max) { -- 2.30.2